const multer = require('multer')
const storage = multer.diskStorage({
	destination: 'www/uploads',
	filename: function(req, file, cb) {
		var headerName = file.originalname
		cb(null, headerName)
	}
})

uploads = multer({
	storage
})

module.exports = uploads